package com.ktjy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ktjy.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierService extends IService<Supplier> {
    //查询供货商列表
    List<Supplier> getSupplierList(@Param("supname") String querySupName, @Param("supCode") String querySupCode, @Param("pageIndex") Integer pageIndex, @Param("pageSize") int pageSize);

    //查询供货商总数
    int getUserCount(String querySupName, String querySupCode);
}
